import { IsNotEmpty } from "class-validator";

export class CreateWxAppConfigDto {
  @IsNotEmpty({message: '配置key不能为空'})
  configKey: string

  @IsNotEmpty({message: '同行车源积分不能为空'})
  peerUseCoin: number
  
  @IsNotEmpty({message: '限制购买次数不能为空'})
  maxBuyCount: number

  maxBuyCountLock?: boolean

  customerWxPic: string

  customerWxStr: string
}

